package com.shopping.pojo;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

public class RetailRole {

    int id;
    @NotNull
    int storeId;
    @Size(max = 18, min = 15)
    String idNumber;

    public void setId(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public int getStoreId() {
        return storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    @Override
    public String toString() {
        return "RetailRole{" +
                "id=" + id +
                ", storeId=" + storeId +
                ", idNumber='" + idNumber + '\'' +
                '}';
    }

}
